﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CaseWarningUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.CaseManagement.CaseWarning.CaseWarningUserControl" %>
<%@ Register Src="../CaseManagementLeftMenu/CaseManagementLeftMenuUserControl.ascx" TagName="CaseManagementLeftMenu" TagPrefix="uc1" %>
<div>
    <table class="main">
        <tr>
            <td valign="top" width="25%" runat="server" id="tdLeftMenu">
                <uc1:CaseManagementLeftMenu ID="CaseManagementLeftMenu" runat="server" />
            </td>
         <td valign="top" width="75%" runat="server" id="tdContent">
              
                <table class="content" width="98%">
                    <tr>
                        <td style="padding: 5px;">
                            <table width="100%" class="title">
                                <tr>
                                    <td width="60%">
                                        <h1 class="title">
                                            案件监控 - 预警案件</h1>
                                    </td>
                                 
                                </tr>
                            </table>
                        </td>
                    </tr>
                       <tr><td><hr /></td></tr>
                    <tr>
                        <td>
                            <table width="100%" class="form">
                          <tr>
                                    <td>
                                        承办部门
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                           <asp:DropDownList ID ="ddlDepartment" runat="server" Width="320"></asp:DropDownList>
                                    </td>
                                </tr>

                                  <tr>
                                    <td>
                                        承办人
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td>
                                        <asp:textbox id="txtCBR" runat="server" Width="320"></asp:textbox>
                                    </td>
                                </tr>

                                     <tr>
                                    <td>
                                        到期日期
                                    </td>
                                    <td>
                                        :
                                    </td>
                                    <td class="nopaddingleft">
                                        <table cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="top" class="nopaddingleft">
                                                    <sharepoint:datetimecontrol id="dtDateFrom" calendarimageurl="/_layouts/JM.JCY.Resource/images/calendar.jpg"
                                                        datepickerframeurl="/_layouts/iframe.aspx" dateonly="true" calendar="Gregorian"
                                                        localeid="2052" runat="server"></sharepoint:datetimecontrol>
                                                </td>
                                                <td>
                                                    -
                                                </td>
                                                <td align="left" valign="top" class="nopaddingleft">
                                                    <sharepoint:datetimecontrol id="dtDateTo" calendarimageurl="/_layouts/JM.JCY.Resource/images/calendar.jpg"
                                                        datepickerframeurl="/_layouts/iframe.aspx" dateonly="true" calendar="Gregorian"
                                                        localeid="2052" runat="server"></sharepoint:datetimecontrol>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:ImageButton ID="imgSearch" runat="server" ImageUrl="~/_layouts/JM.JCY.Resource/images/search.png"  onclick="imgSearch_Click"/>
                            <%--<asp:ImageButton ID="imgCancel" runat="server" ImageUrl="~/_layouts/JM.JCY.Resource/images/cancel.png" />--%>
                        </td>
                    </tr>
                
                       <tr>
                    <td>
                        <br />
                    <hr id="hr1" />
                    <br />
                   
                 
                    <table width="100%" border="0" cellpadding="0" cellspacing="10">
                      <tr>
                            <td>
                                <asp:Label ID="NoRecord" runat="server" ForeColor="#CC3300" Text="没有在系统中找到相关的案件！"
                                    Visible="false"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <div id="content">
                                           <asp:GridView ID="gvCaseWarning" runat="server" AutoGenerateColumns="False" BorderWidth="0px"
                                    GridLines="Horizontal" CssClass="altrowstablebc" Width="100%" OnRowDataBound="gvCaseWarning_RowDataBound"
                                    EnableModelValidation="True" PageSize="20" AllowPaging="True"
                                    onpageindexchanging="gvCaseWarning_PageIndexChanging">
                              
                                     <Columns>
                                        <asp:BoundField HeaderText="案号" DataField="C_AH" >
                                  
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="承办部门" DataField="C_CBBM">
                                         <HeaderStyle Width="58" />
                                        <ItemStyle Width="58" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="承办人" DataField="C_CBR">
                                        <HeaderStyle Width="55" />
                                        <ItemStyle Width="55" />
                                        </asp:BoundField>
                                         <asp:BoundField HeaderText="案件阶段" DataField="C_AJJD" Visible="false">
                                        <HeaderStyle Width="80" />
                                        <ItemStyle Width="80" />
                                        </asp:BoundField>
                                          <asp:BoundField HeaderText="当前阶段" DataField="C_DQJD" >
                                          <HeaderStyle Width="80" />
                                        <ItemStyle Width="80" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="开始日期" DataField="D_KSRQ" DataFormatString="{0:yyyy-MM-dd}"
                                            HtmlEncode="False">
                                            <HeaderStyle Width="80" />
                                        <ItemStyle Width="80" />
                                        </asp:BoundField>
                                             <asp:BoundField HeaderText="到期日期" DataField="D_DQRQ" DataFormatString="{0:yyyy-MM-dd}"
                                            HtmlEncode="False">
                                          <HeaderStyle Width="80" />
                                        <ItemStyle Width="80" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="超期天数" DataField="N_CQTS">
                                               <HeaderStyle Width="58" />
                                        <ItemStyle Width="58" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="嫌疑人" DataField="C_XYR">
                                            <HeaderStyle Width="80" />
                                        <ItemStyle Width="80" />
                                        </asp:BoundField>
                                         <asp:BoundField HeaderText="嫌疑人案由" DataField="C_XYRAY" Visible="false">
                                       
                                        </asp:BoundField>
                                          
                                    </Columns>

                                </asp:GridView>
                                </div>
                            </td>
                        </tr>
                    </table>
              
                    </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>